package com.bida.core.entity;

import java.io.Serializable;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * <p>User: chenli
 * <p>Date: 13-12-22
 * <p>Version: 1.0
 */
@Document
public class User implements Serializable {
    private static final long serialVersionUID = -815998570353286035L;
    /**
     * 
     */
    public static final String USERID = "id";
    /**
     * 
     */
    public static final String NAME = "name";
    @Id
    private String id;
    private String name;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
